package com.buba.springcloud.service;

import com.buba.springcloud.dao.BLoginDao;
import com.buba.springcloud.entities.HfStaff;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class BLoginServiceImpl implements BLoginService {

    @Resource
    private BLoginDao bLoginDao;

    @Override
    public HfStaff getStaffInfo(String username) {
        return bLoginDao.getStaffInfo(username);
    }
}
